<html>
<head><meta charset="utf-8"><title>slow downloads · t-compiler/cargo-bisect-rustc · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/index.html">t-compiler/cargo-bisect-rustc</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow.20downloads.html">slow downloads</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="188673876"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow%20downloads/near/188673876" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow.20downloads.html#188673876">(Feb 20 2020 at 20:20)</a>:</h4>
<p><span class="user-mention" data-user-id="116122">@simulacrum</span> as an experiment, or really, to keep myself occupied, I tried doing some manual bisection  while cargo-bisect-rustc ran</p>



<a name="188673894"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow%20downloads/near/188673894" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow.20downloads.html#188673894">(Feb 20 2020 at 20:20)</a>:</h4>
<p>and in the process of doing my own bisection, I had to run <code>rustup update ...</code></p>



<a name="188673928"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow%20downloads/near/188673928" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow.20downloads.html#188673928">(Feb 20 2020 at 20:21)</a>:</h4>
<p>and I was a little surprised when it seemed like I was able to get the nightlies for my own bisection faster that way than <code>cargo-bisect-rustc</code> was doing itself.</p>



<a name="188673980"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow%20downloads/near/188673980" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow.20downloads.html#188673980">(Feb 20 2020 at 20:21)</a>:</h4>
<p>now to be fair, this was a <em>totally</em> not scientific test. I wasn't even doing the race on different computers, so the two ongoing processes were of course stealing time and network bandwidth from eachother</p>



<a name="188674077"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow%20downloads/near/188674077" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow.20downloads.html#188674077">(Feb 20 2020 at 20:22)</a>:</h4>
<p>but I am still curious: Would you expect <code>cargo-bisect-rustc</code>'s download system to be significantly slower than that of <code>rustp</code>? Does the manner in which <code>cargo-bisect-rustc</code> is downloading its CI artifacts have some bottleneck I'm not aware of?</p>



<a name="188674479"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow%20downloads/near/188674479" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow.20downloads.html#188674479">(Feb 20 2020 at 20:28)</a>:</h4>
<p>(hmm I just thought of one potential reason that my setup could be slowing things down... I was running <code>cargo-bisect-rustc</code> inside of an Emacs shell, but my own bisection in a normal terminal. I <em>know</em> the Emacs shell can slow down interactive terminal stuff. I really should re-do the experiment outside of Emacs. That, and/or add a way to tell <code>cargo-bisect-rustc</code> not to include the progress bars and whatnot.)</p>



<a name="188676261"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow%20downloads/near/188676261" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow.20downloads.html#188676261">(Feb 20 2020 at 20:50)</a>:</h4>
<p>We use reqwest 0.9 (should probably update to async/await 0.10, I guess).</p>



<a name="188676335"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow%20downloads/near/188676335" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow.20downloads.html#188676335">(Feb 20 2020 at 20:51)</a>:</h4>
<p>I think rustup uses curl, which might have better support for some features (e.g., maybe HTTP 3 or something crazy like that?)</p>



<a name="188676351"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow%20downloads/near/188676351" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow.20downloads.html#188676351">(Feb 20 2020 at 20:51)</a>:</h4>
<p>but the terminal thing seems more likely</p>



<a name="188676360"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow%20downloads/near/188676360" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow.20downloads.html#188676360">(Feb 20 2020 at 20:51)</a>:</h4>
<p>at least in theory bisect and rustup should be about on par</p>



<a name="188676366"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow%20downloads/near/188676366" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow.20downloads.html#188676366">(Feb 20 2020 at 20:52)</a>:</h4>
<p>yeah I wont file an issue until i've gathered actual data</p>



<a name="188676410"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow%20downloads/near/188676410" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow.20downloads.html#188676410">(Feb 20 2020 at 20:52)</a>:</h4>
<p>in a more scientific manner</p>



<a name="188676450"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow%20downloads/near/188676450" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow.20downloads.html#188676450">(Feb 20 2020 at 20:52)</a>:</h4>
<p>one difference (though I hesitate to suggest it) is that rustup presumably has libcurl ... as the User-Agent</p>



<a name="188676462"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow%20downloads/near/188676462" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow.20downloads.html#188676462">(Feb 20 2020 at 20:52)</a>:</h4>
<p>whereas we have something adhoc or nothing at all</p>



<a name="188676483"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow%20downloads/near/188676483" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow.20downloads.html#188676483">(Feb 20 2020 at 20:52)</a>:</h4>
<p>so maybe Amazon (CloudFront) rate limits bisect as a result?</p>



<a name="188676487"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow%20downloads/near/188676487" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/slow.20downloads.html#188676487">(Feb 20 2020 at 20:52)</a>:</h4>
<p>that'd be pretty sad</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>